home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.cs.arizona.edu
/
ftp.cs.arizona.edu.tar
/
ftp.cs.arizona.edu
/
icon
/
newsgrp
/
group01b.txt
/
000109_icon-group-sender_Mon Jul 30 07:59:10 2001.msg
< prev
next >
Wrap
Internet Message Format
|
2002-01-03
|
3KB
Return-Path: <icon-group-sender>
Received: (from root@localhost)
by baskerville.CS.Arizona.EDU (8.11.1/8.11.1) id f6UEx4E15268
for icon-group-addresses; Mon, 30 Jul 2001 07:59:04 -0700 (MST)
Message-Id: <200107301459.f6UEx4E15268@baskerville.CS.Arizona.EDU>
From: "Lloyd M. Uhler, Jr." <luhler@cyberramp.net>
X-Newsgroups: comp.lang.icon
Subject: VIB TextBox input
Date: Fri, 27 Jul 2001 21:50:49 -0500
X-Orig-Message-ID: <3B622889.F5215748@cyberramp.net>
Abuse-Reports-To: abuse at airmail.net to report improper postings
NNTP-Proxy-Relay: library1-aux.airnews.net
NNTP-Posting-Time: Sat Jul 28 09:51:58 2001
X-Accept-Language: en,pdf
To: icon-group@cs.arizona.edu
Errors-To: icon-group-errors@cs.arizona.edu
Status: RO
Content-Length: 2023
VIB TextBox input did not work in ICON Version 9.3.1? Has anyone tried
to enter text in a TextBox generated from VIB in Version 9.3.2 od ICON?
I would like to confirm it was fixed or not fixed? Type generated code
would be:
############################################################################
#
# File: C:\WINICON\PGMS\text.icn
#
# Subject: Program to test TextBox input
#
# Author:
#
# Date: June 23, 2001
#
############################################################################
#
#
#
############################################################################
#
# Requires:
#
############################################################################
#
# Links: vsetup
#
############################################################################
# This vib interface specification is a working program that responds
# to vidget events by printing messages. Use a text editor to replace
# this skeletal program with your own code. Retain the vib section at
# the end and use vib to make any changes to the interface.
link vsetup
procedure main(args)
local vidgets, root, paused
(WOpen ! ui_atts()) | stop("can't open window")
vidgets := ui() # set up vidgets
root := vidgets["root"]
paused := 1 # flag no work to do
repeat {
# handle any events that are available, or
# wait for events if there is no other work to do
while (*Pending() > 0) | \paused do {
ProcessEvent(root, QuitCheck)
}
# if <paused> is set null, code can be added here
# to perform useful work between checks for input
}
end
procedure text_input_cb1(vidget, value)
return
end
#===<<vib:begin>>=== modify using vib; do not remove this marker line
procedure ui_atts()
return ["size=600,385", "bg=#C0C0C0"]
end
procedure ui(win, cbk)
return vsetup(win, cbk,
[":Sizer:::0,0,600,385:",],
["text_input1:Text::18:138,86,203,16:Text:\\=",text_input_cb1],
)
end
#===<<vib:end>>=== end of section maintained by vib